POV-Ray : Newsgroups : povray.general : My triangle function is stupid : Re: My triangle function is stupid Server Time
1 Aug 2024 22:18:19 EDT (-0400)
  Re: My triangle function is stupid  
From: Marc Jacquier
Date: 11 Mar 2005 07:41:00
Message: <423191dc$1@news.povray.org>

news:42319136$1@news.povray.org...
> ... well, I suspect it is. What's the 'classic' function for a triangle?
>
> Oh, here's mine:
> max(abs(x) + (max(y,0)-1), y*-1)
>
I have no clue but I hope you don't want to render meshs with isosurface
triangles ;-)

Marc


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.